package com.nsfocus.mode;

import java.io.IOException;

/**
 * @File: RuntimeDemo.java
 * @User: Liangkangkang
 * @Date: 17-4-24
 * @Time: 下午9:14
 * @Mail: liangkangkang@yahoo.com
 * @Desc:
 * @Version:
 */
public class RuntimeDemo {
    public static void main(String[] args) {
        Runtime rt = Runtime.getRuntime();
        try {
            Process pt = rt.exec("hostname");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
